package patterns.adapter;

/**
 * Created by lenovo on 2016/11/24 0024.
 * 演示调用增强后的audio Player
 */
public class AdapterPatternDemo{
    public static void main(String[] args){
        AudioPlayer  audioPlayer = new AudioPlayer();

        audioPlayer.play("mp3","beyond the horizon.mp3");
        audioPlayer.play("vlc","far away.vlc");
        audioPlayer.play("mp4","movie.mp4");
        audioPlayer.play("avi","hello.avi");
    }
}
